package cn.simon.mapper;

import cn.simon.model.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper extends BaseMapper<Comment> {
    List<Comment> selectByGoodsId(Integer id);

    List<Comment> selectByGoodsFirstId(int id);

    List<Comment> selectBycommentedId(int id);

    Comment updateByCommentId(Integer id);
}
